//
//  CLPageViewController.h
//  CLBrowser
//
//  Created by 梁慧聪 on 2022/7/22.
//

#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class CLPageViewController;
@protocol CLPageViewControllerDelegate <NSObject>

/// 获取上一页
- (void)pageViewController:(CLPageViewController *)pageViewController getViewControllerBefore:(CLPageViewController *)viewController;

/// 获取下一页
- (void)pageViewController:(CLPageViewController *)pageViewController getViewControllerAfter: (UIViewController *)viewController;

@end
@interface CLPageViewController : UIPageViewController
@property (nonatomic, weak) id<CLPageViewControllerDelegate> aDelegate;
@end

NS_ASSUME_NONNULL_END
